[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            isremoveable - is device removeable

  Syntax              int isremovable(char drive);

  Prototype in        doshhk.h

  Remarks             isremoveable() detects if a device determined by
                      drive, where 0=default, 1=A, 2=B, etc. is
                      removeable (i.e. Bernouli boxes) or fixed (i.e.
                      hard drives).

                      isremoveable requires DOS 3.x+

  Return value        isremoveable returns:

                            0:  removeable
                            1:  fixed
                           15:  invalid drive
                           -1:  error

                      If there was an error, Borland's variable errno
                      will contain the error code.

  See also            iscdevicemoderaw(), isdrivelocal(),
                      ishandlelocal(), isRedirectStdin(),
                      isRedirectStdout(), setcdevicemode()


See Also: isdrivelocal() ishandlelocal()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson